<%--
  Created by IntelliJ IDEA.
  User: hedingwei
  Date: 6/20/15
  Time: 1:15 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>

<html>
<head>
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>

    <!-- Bootstrap Core CSS -->
    <link href="${ctxStatic}/css/bootstrap.css" rel="stylesheet">

    <!-- DataTables CSS -->
    <link href="${ctxStatic}/css/plugins/dataTables.bootstrap.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="${ctxStatic}/css/smartech.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="${ctxStatic}/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- Animate CSS -->
    <link href="${ctxStatic}/css/animate.css" rel="stylesheet">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="${ctxStatic}/js/html5shiv.js"></script>
    <script src="${ctxStatic}/js/respond.min.js"></script>
    <![endif]-->

</head>
<body>


<div id="wrapper">

    <!-- Navigation -->
    <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
        <sys:header/>
        <!-- /.navbar-top-links -->

        <sys:sidebar menuId="5100"/>
        <!-- /.navbar-static-side -->
    </nav>

    <div id="page-wrapper">

        <div class="row">
            <div class="col-md-12">
                <!-- Danger box -->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="margin-none"><i class="fa fa-check"></i> 启动任务确认</h4>

                    </div>
                    <div class="panel-body">
                        <p>
                            启动该任务需要填写必要的启动备注，请注明启动的原因。
                        </p>
                        <form:form action="${ctx}/f/lttask/start.action.do?taskId=${param.taskId}" commandName="startBean">
                            <p><form:textarea id="editor1"  path="message" cssClass="textarea" placeholder="请在此填写启动该任务的原因" style="width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;"/></p>
                            <p><form:errors path="message"/></p>
                            <p><input type="submit" class="btn btn-primary btn-sm pull-right" value="启动"/>
                                <a href="${ctx}/f/lttask/init.view.do?taskId=${param.taskId}" class="btn btn-default btn-sm pull-right margin-right">取消</a>
                            </p>
                        </form:form>
                        <p>操作人：${requestScope.x_m_username}</p>
                    </div><!-- /.box-body -->
                </div><!-- /.box -->
            </div><!-- /.col -->
        </div><!-- /.row -->

        <div class="text-center margin-top footer">&copy; 2015北京坤腾畅联科技有限公司 版权所有</div>

    </div>

</div>

<!-- jQuery Version 1.11.0 -->
<script src="${ctxStatic}/js/jquery-1.11.0.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="${ctxStatic}/js/bootstrap.min.js"></script>
<script src="${ctxStatic}/js/plugins/layer/layer.js"></script>
<!-- DataTables JavaScript -->
<script src="${ctxStatic}/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="${ctxStatic}/js/plugins/dataTables/dataTables.bootstrap.js"></script>
<!-- Custom Theme JavaScript -->
<script src="${ctxStatic}/js/smartech.js"></script>

<script>
    $(function(){

    });
</script>

</body>
</html>
